package com.Isb.Golf.inputgolfscore.data;

import android.text.format.Time;

public class CourseData {

	//private infomation
	private String strPlayerName;

	//course Infomation
	private String strCourseName;
	private Time todayTime;
	private int courseTee[] = new int[18];
	private int courseHDC[] = new int[18];

	//plya infomation
	private int playTee[] = new int[18];
	private int patNum[] = new int[18];
	private int OBNum[] = new int[18];

	//private Infomation
	public void setPlayerName(String argPlayerName){
		strPlayerName = argPlayerName;
	}

	public String getPlayerName(){
		return strPlayerName;
	}

	//Course name
	public void setCourseName(String courseName){
		strCourseName = courseName;
	}

	public String getCourseName(){
		return strCourseName;
	}

	//play date
	public void setTodayTime(Time argTime){
		todayTime = argTime;
	}

	public Time getTodayTime(){
		return todayTime;
	}

	//Course Tee
	public void setCourseTee(int[] argTee){
		courseTee = argTee;
	}

	public void setCourseTee(int holeNo, int argTee){
		courseTee[holeNo] = argTee;
	}

	public int getCourseTee(int holeNo){
		return courseTee[holeNo];
	}

	public int[] getCourseTee(){
		return courseTee;
	}

	//Course HDC
	public void setCourseHDC(int[] argHDC){
		courseHDC = argHDC;
	}

	public void setCourseHDC(int holeNo, int argHDC){
		courseHDC[holeNo] = argHDC;
	}

	public int getCourseHDC(int holeNo){
		return courseHDC[holeNo];
	}

	public int[] getCourseHDC(){
		return courseHDC;
	}

	//Play Tee
	public void setPlayTee(int holeNo, int argPlayTee){
		playTee[holeNo] = argPlayTee;
	}

	public void setPlayTee(int[] argPlayTee){
		playTee = argPlayTee;
	}

	public int[] getPlayTee(){
		return playTee;
	}

	public int getPlayTee(int holeNo){
		return playTee[holeNo];
	}

	//Pat num
	public void setPatNum(int holeNo, int argPat){
		patNum[holeNo] = argPat;
	}

	public void setPatNum(int[] argPat){
		patNum = argPat;
	}

	public int getPatNum(int holeNo){
		return patNum[holeNo];
	}

	public int[] getPatNum(){
		return patNum;
	}

	public void setOBNum(int holeNo, int argOBNum){
		OBNum[holeNo] = argOBNum;
	}

	public void setOBNum(int[] argOBNum){
		OBNum = argOBNum;
	}

	public int getOBNum(int holeNo){
		return OBNum[holeNo];
	}

	public int[] getOBNum(){
		return OBNum;
	}
}
